
namespace ZR.Model.FacManage.Dto
{
    /// <summary>
    /// 库区信息查询对象
    /// </summary>
    public class FacWhseQueryDto : PagerInfo 
    {
        /// <summary>
        /// 库区编码（与wms同步） 
        /// </summary>
        public string WhseCode { get; set; }
        /// <summary>
        /// 库区名称 
        /// </summary>
        public string WhseName { get; set; }
        /// <summary>
        /// 启用标志（0禁用1启用） 
        /// </summary>
        public int? Enabled { get; set; }
        /// <summary>
        /// 工厂Id 
        /// </summary>
        public string FactoryId { get; set; }
        
    }

    /// <summary>
    /// 库区信息输入输出对象
    /// </summary>
    public class FacWhseDto
    {
        /// <summary>
        /// 库区id 
        /// </summary>
        [Required(ErrorMessage = "库区id不能为空")]
        public string WhseId { get; set; }

        /// <summary>
        /// 库区编码（与wms同步） 
        /// </summary>
        [Required(ErrorMessage = "库区编码（与wms同步）不能为空")]
        public string WhseCode { get; set; }

        /// <summary>
        /// 库区名称 
        /// </summary>
        [Required(ErrorMessage = "库区名称不能为空")]
        public string WhseName { get; set; }

        /// <summary>
        /// 启用标志（0禁用1启用） 
        /// </summary>
        [Required(ErrorMessage = "启用标志（0禁用1启用）不能为空")]
        public int Enabled { get; set; }

        /// <summary>
        /// 所属工厂 
        /// </summary>
        [Required(ErrorMessage = "所属工厂不能为空")]
        public string FactoryId { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 工厂描述信息
        /// </summary>
        public string FactoryInfo { get; set; }
    }
}